import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
//响应组件动作
const actions = {}
//修改数据
const mutations = {}
//数据
const state = {a:1}

//创建store
const store = new Vuex.Store({
	actions,
	mutations,
	state
})

//暴露store
export default store